<{include file="header.html"}>
<{include file="top.html"}>
<div class="h_980 clearfix"> 
            <div class="FosfMain">
            <div class="page_dh"><a class="location-home" href="<{spUrl c=main a=index}>"></a> <a href="<{spUrl c=main a=Account}>"><{T w='My Account'}></a> <{T w='NavigationJGF'}> <{$title}></div>
            <div id="accountHistInfo">
            
            <div class="forward"><{T w='Order Date'}>: <{$order.date_purchased|date_format:'%A %d %B,%Y'}></div>
            <br class="clear" />
            
            <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Itemized listing of previous order, includes number ordered, items and prices">
            <caption><h2 id="orderHistoryDetailedOrder"><{T w='Order Information - Order #'}><{$order.orders_sn}></h2></caption>
                <tr class="tableHeading">
                    <th scope="col" id="myAccountQuantity"><{T w='Qty.'}></th>
                    <th scope="col" id="myAccountProducts"><{T w='Products'}></th>
                    <th scope="col" id="myAccountTotal"><{T w='Total'}></th>
                </tr>
            <{foreach item=item name=name from=$orderslist}>     
                <tr>
                    <td align="center"><{$item.products_quantity}>&nbsp;ea.  </td>
                    <td align="center"><{$item.products_name}><{if $item.product_size neq ''}>(<{$item.product_size}>)<{/if}></td>
                    <td align="center"><{$item.products_quantity}> <strong>*</strong> <{if $item.discounted_price neq ''}><{$item.discounted_price*$order.currency_value}><{else}><{$item.products_price}><{/if}> = <{$symbol_left}><{$item.final_priceview_price*$order.currency_value}></td>
                </tr>
            <{/foreach}>     
            </table>
            <hr />
            <div id="orderTotals">
                 <div class="lineTitle larger forward"><{T w='Subtotal'}>:+<{$order.currency_left}><{$order.order_total}></div><br />
                 <div class="lineTitle larger forward"><{$order.shipping_module_code}>:+<{$order.currency_left}><{$order.shipping_method*$order.currency_value}></div><br />
                 <div class="lineTitle larger forward"><{T w='Discount'}>:-<{$order.currency_left}><{$order.order_discount}></div><br />
                 <div class="lineTitle larger forward"><{T w='Grand Total'}>:=<{$order.currency_left}><{$order.shipping_method*$order.currency_value+$order.order_total-$order.order_discount}></div><br />
            </div>
            <br class="clear"/>
            
            
            
            
            
            <table border="0" width="100%" cellspacing="0" cellpadding="0" id="myAccountOrdersStatus" summary="Table contains the date, order status and any comments regarding the order">
            <caption><h2 id="orderHistoryStatus"><{T w='Status History &amp; Comments'}></h2></caption>
                <tr class="tableHeading">
                    <th scope="col" id="myAccountStatusDate"><{T w='Date'}></th>
                    <th scope="col" id="myAccountStatus"><{T w='Order Status'}></th>
                    <th scope="col" id="myAccountStatusComments"><{T w='Comments'}></th>
                   </tr>
            <{foreach item=item name=name from=$ordersstatus}>       
                <tr>
                    <td align="center"><{$item.date_added|date_format:'%m/%d/%Y'}></td>
                    <td align="center"><{$item.orders_status_id}></td>
                    <td><{$item.comments}></td> 
                 </tr>
            <{/foreach}>       
            </table>
            
            <hr />
            <div id="myAccountShipInfo" class="floatingBox back">
            <h3><{T w='Delivery Address'}></h3>
            <address><{$order.delivery_name}> <br /> <{$order.delivery_street_address}> <br />  <{$order.delivery_city}>, <{$order.delivery_postcode}><br /> <{$order.delivery_state}>, <{$order.delivery_country}></address>
            
            <h4><{T w='Shipping Method'}></h4>
            <div><{if $order.shipping_module_code neq ''}><{$order.shipping_module_code}><{else}><{T w='Flat Rate (Best Way)'}><{/if}></div>
            </div>
            
            <div id="myAccountPaymentInfo" class="floatingBox forward">
            <h3><{T w='Billing Address'}></h3>
            <address><{$order.billing_name}> <br /> <{$order.billing_street_address}> <br />  <{$order.billing_city}>, <{$order.billing_postcode}><br /> <{$order.billing_state}>, <{$order.billing_country}></address>
            
            <h4><{T w='Payment Method'}></h4>
            <div><{$order.payment_method}></div>
            </div>
            <br class="clear" />
            </div>
    </div>
    
</div>  
<{include file="footer.html"}>
</body>
</html>